//
//  NRLSVMScreeView.m
//  NaRiLSVMT
//
//  Created by zhangmeng on 14-8-10.
//  Copyright (c) 2014年 helloyouth.org. All rights reserved.
//

#import "NRLSVMScreeView.h"

@interface NRLSVMScreeView ()

@end

@implementation NRLSVMScreeView

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
//回调函数
-(void)openScerrnback:(void (^)())callback
{
    self.openCallback = callback;
}
-(void)closeScerrnback:(void (^)())callback
{
    self.closeCallback = callback;
}
-(IBAction)openScreen:(id)sender
{
//    if(self.ocflag == OpenScreen){
//    if(self.openCallback){
//        self.openCallback();
//    }
//        self.ocflag = CloseScreen;
//    }
//    else if(self.ocflag == CloseScreen){
//        if(self.closeCallback){
//            self.closeCallback();
//        }
//        self.ocflag = OpenScreen;
//    }
}
@end
